﻿<%@ Page Language="C#" MasterPageFile="~/Manageweb/MemberMaster.master" AutoEventWireup="true"
    CodeFile="UserInfo.aspx.cs" Inherits="Manageweb_Users_UserInfo" Title="Untitled Page" %>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">

 <script src="../../js/JsMasked.js" type="text/javascript"></script>
 <script type="text/javascript">
     var ServerKey = '<%=StrKey %>';
     var hidMiYao = '<%=hidMiYao.ClientID %>';
 </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <style type="text/css">
        *
        {
            margin: 0;
        }
        body
        {
            font-size: 9pt;
        }
        #container div
        {
            margin-top: 6px;
        }
        #select_city h3
        {
            float: left;
        }
        #main_city, #all_province
        {
            clear: both;
        }
        #main_city div, #all_province div
        {
            width: 588px;
            clear: left;
        }
        #main_city h4, #all_province h4
        {
            float: left;
            display: inline;
            font-size: 16px;
        }
        #main_city div span, #all_province div span
        {
            margin: 0 9px;
            cursor: pointer;
            font-size: 14px;
        }
        #float_lay
        {
            width: 220px;
            height: 122px;
            border: 1px #787878 solid;
            position: absolute;
            background: #fff;
            z-index: 999;
            display: none;
        }
    </style>

   
    

    <asp:HiddenField ID="hidMiYao" runat="server" />
    <table id="userInfo" border="1" cellpadding="0" cellspacing="0" width="90%" runat="server"
        visible="false">
        <tr>
            <td style="width: 25%; text-align: center">
                &nbsp;登录账号
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_LoginID" runat="server" Enabled="False"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 25%; height: 26px; text-align: center">
                &nbsp;用户名
            </td>
            <td style="height: 26px; text-align: left">
                &nbsp;<asp:TextBox ID="TB_LoginName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TB_LoginID"
                    Display="Dynamic" ErrorMessage="必填字段" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr style="color: #000000">
            <td style="width: 25%; text-align: center">
                &nbsp;性别
            </td>
            <td style="text-align: left">
                &nbsp;<asp:DropDownList ID="DL_Sex" runat="server">
                    <asp:ListItem Value="1">男</asp:ListItem>
                    <asp:ListItem Value="0">女</asp:ListItem>
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TB_LoginID"
                    Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                &nbsp;国家
            </td>
            <td style="text-align: left">
                &nbsp;<asp:DropDownList ID="TB_Country" runat="server">
                    <asp:ListItem Value="中国">中国</asp:ListItem>
                    <asp:ListItem>韩国</asp:ListItem>
                    <asp:ListItem>日本</asp:ListItem>
                    <asp:ListItem>越南</asp:ListItem>
                    <asp:ListItem>泰国</asp:ListItem>
                    <asp:ListItem>新加坡</asp:ListItem>
                    <asp:ListItem>马来西亚</asp:ListItem>
                    <asp:ListItem>印度尼西亚</asp:ListItem>
                    <asp:ListItem>德国</asp:ListItem>
                    <asp:ListItem>英国</asp:ListItem>
                    <asp:ListItem>法国</asp:ListItem>
                    <asp:ListItem>美国</asp:ListItem>
                    <asp:ListItem>巴西</asp:ListItem>
                    <asp:ListItem>澳大利亚</asp:ListItem>
                    <asp:ListItem>南非</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                &nbsp;城市
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_City" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                &nbsp;地址
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_Address" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                &nbsp;邮编
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_PostCode" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                &nbsp;邮箱
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_Email" runat="server"></asp:TextBox>
                <asp:RegularExpressionValidator ID="REV_TB_Email" runat="server" ControlToValidate="TB_Email"
                    Display="Dynamic" ErrorMessage="格式不正确" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                    ValidationGroup="Btn_Submit"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                &nbsp;电话
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_Tel" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                &nbsp;手机
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_Mobile" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                &nbsp;身份证号
            </td>
            <td style="text-align: left">
                &nbsp;<asp:TextBox ID="TB_CardCode" runat="server" Width="187px"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator3" runat="server" ControlToValidate="TB_CardCode" Display="Dynamic"
                    ErrorMessage="必填字段" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TB_CardCode"
                    Display="Dynamic" ErrorMessage="身份证号格式不正确" Font-Bold="True" SetFocusOnError="True"
                    ValidationExpression="(([0-9]{14}[x0-9]{1})|([0-9]{17}[x0-9]{1}))$" ValidationGroup="Btn_Submit"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <%--    <tr>
        <td style="text-align: center">
            &nbsp;重设密码问题</td>
        <td style="text-align: left">
            &nbsp;<asp:TextBox ID="TB_Question" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RFV_TB_Question" runat="server" ControlToValidate="TB_Question"
                Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="text-align: center">
            &nbsp;重设密码答案</td>
        <td style="text-align: left">
            &nbsp;<asp:TextBox ID="TB_Answer" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RFV_TB_Answer" runat="server" ControlToValidate="TB_Answer"
                Display="Dynamic" ErrorMessage="*" ValidationGroup="Btn_Submit"></asp:RequiredFieldValidator></td>
    </tr>--%>
        <tr>
            <td style="text-align: center">
                &nbsp;
            </td>
            <td style="text-align: left">
                &nbsp;
                <asp:Button ID="Btn_Submit" runat="server" OnClick="Btn_Submit_Click" Text="信息更新"
                    ValidationGroup="Btn_Submit" />
            </td>
        </tr>
    </table>
    <br />
</asp:Content>
